package com.ccav.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ccav.domain.Student;
import com.ccav.util.StudentPage;

import java.io.Serializable;
import java.util.List;

public interface StudentMapper extends BaseMapper<Student> {
    Student getById(Serializable id);

    List<Student> findAll(Page<Student> page, StudentPage studentPage);
}
